package com.bailong.nanny.entity.dto;

public class NannyWorkDTO {
    private String nannyName;

    public String getNannyName() {
        return nannyName;
    }

    public void setNannyName(String nannyName) {
        this.nannyName = nannyName;
    }

    public int getWorkCount() {
        return workCount;
    }

    public void setWorkCount(int workCount) {
        this.workCount = workCount;
    }

    private int workCount;

    public NannyWorkDTO(String nannyName, int workCount) {
        this.nannyName = nannyName;
        this.workCount = workCount;
    }
    public NannyWorkDTO(){}

    @Override
    public String toString() {
        return "NannyWorkDTO{" +
                "nannyName='" + nannyName + '\'' +
                ", workCount=" + workCount +
                '}';
    }
}
